Copyright ã1992 by Scott Hess.  All Rights Reserved.

The Directory Preference

The Directory preference can be a very powerful tool when set-up and used correctly.  This is because Directory can be modified dynamically using OSC sequences (see OSC).  Useful aspects of Directory:

·	The `Select Directory...' and `Select File...' menu items will base their initial positions on the Directory preference (see Menus/Tools).

·	If the default Stuart Directory is `.', new windows are opened in the directory Stuart was launched from (see the Directory entry in Appendices/Preferences).

·	If the default Stuart Directory is `.', soil will send the directory where soil is run as Directory (see Utilities/soil).

·	Using Directory, Stuart allows Services items which work on NXFilenamePboardType data to receive up-to-date data from Stuart.

·	When writing a Stuartrc file, Stuart can write Directory to the file (see Inspectors/Panes/Global and Menus/Shells).  Then, when the Stuartrc is read back in, the initial Directory will be the same as it was before.

·	%{Directory} may be used as a meta-sequence in window and miniwindow titles (see Inspectors/Panes/Window and Features/OSC).

·	The Stuart-provided Services menu entry `Shell in Directory' presets the Directory (see Services).